Skip to content

Compile partial blocks to allow nested partial-block usage - #237

Merged
rexm merged 1 commit into
Handlebars-Net:masterfrom
CogniStreamer:AllowNextedPartialBlocks
Jul 28, 2018
Merged

rexm merged 1 commit into
Handlebars-Net:masterfrom
CogniStreamer:AllowNextedPartialBlocks

Conversation

@huysentruitw

Copy link
Copy Markdown
Contributor

Also took the occasion to simplify the PartialBinder logic a bit.

As a plus, this change compiles the template fallback value.

@huysentruitw
huysentruitw force-pushed the AllowNextedPartialBlocks branch from 9feb2ac to 3cd5254 Compare March 7, 2018 14:47
@pmccloghrylaing

Copy link
Copy Markdown
Contributor

👍
Ran into this issue with nested partials - your fork works as expected for me and the tests cover nesting a combination of content and partials.
@rexm any chance this can be merged in?

@rexm
rexm merged commit 21259fe into Handlebars-Net:master Jul 28, 2018
@rexm

rexm commented Jul 28, 2018

Copy link
Copy Markdown
Member

Will release this weekend.

@chadly

chadly commented Sep 11, 2018

Copy link
Copy Markdown

Will release this weekend

I've just run into this issue as well, compiled the master branch locally and confirmed that this fixes our issue with nested partials.

Any chance for a release of the current state of master?

Thanks for the great library by the way, @rexm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants